function a() {
  // 在这个文档中运行，
  // https://thepiquelab.atlassian.net/wiki/spaces/UIUX/pages/803963259/A+Manage+Permissions
  const enum_value_count = {
    "archus-crm:access": 1,
    "student:update": 12,
    "arrangement:update": 16,
    "arrangement:view": 19,
    "arrangement:view:export": 3,
    "invoice:update": 17,
    "class:update": 5,
    "class:view:export": 1,
    "receipt:view:export": 5,
    "parent:update": 9,
    "course-eligibility:view": 1,
    "course:update": 5,
    "course:view:export": 2,
    "registration:update": 19,
    "refund:update": 4,
    "refund:view:export": 4,
    "invoice:view:export": 3,
    "statement-of-account:view:export": 1,
    "lesson:update": 12,
    "lesson:view:export": 2,
    "delivery:update": 2,
    "material:update": 10,
    "registration:view": 11,
    "parent:view": 9,
    "student:view": 10,
    "department:view": 7,
    "branch:view": 7,
    "venue:view": 7,
    "academic-level:view": 7,
    "academic-year:view": 7,
    "school:view": 7,
    "group-assignment:view": 6,
    "term-billing-due-date:view": 4,
    "holiday:view": 6,
    "reference-data:update": 5,
    "whatsapp-account:view": 5,
    "reward:view": 5,
    "integration:view": 5,
    "feature:update": 2,
    "course:view": 13,
    "class:view": 5,
    "lesson:view": 4,
    "invoice:view": 7,
    "receipt:view": 5,
    "refund:view": 5,
    "statement-of-account:view": 6,
    "report-attendance:view": 3,
    "report-invoice:view": 3,
    "report-payment:view": 4,
    "report-revenue:view": 4,
    "task:view": 5,
    "system-user:view": 2,
    "material:view": 5,
    "delivery:view": 6,
    "campaign:view": 6,
    "parent:view:export": 1,
    "student:view:export": 2,
    "reference-data:view": 2,
    "feature:view": 1,
    "campaign:update": 2,
  };
  // 获取页面上所有的 <tbody> 元素
  const tbodies = document.querySelectorAll("table tbody");

  // 用于存储所有第三列的文本内容
  let thirdColumnTexts = [];

  let unused = {};

  // 遍历每个 <tbody>
  tbodies.forEach((tbody) => {
    // 获取当前 <tbody> 中的所有行
    const rows = tbody.querySelectorAll("tr");

    // 遍历每一行
    rows.forEach((row) => {
      // 在当前行中获取第三列的单元格
      const thirdColumnCell = row.querySelector("td:nth-child(3) code");
      // 如果单元格存在，则获取其文本内容并添加到数组中
      if (thirdColumnCell) {
        const permision = thirdColumnCell.textContent.trim();
        // 如果使用次数是0，就在文档中标记一下
        if (!enum_value_count[permision]) {
          thirdColumnCell.insertAdjacentHTML("beforebegin", "<span>💢</span>");
          const pElement = row.querySelector("td:nth-child(5) p");

          if (pElement) {
            // 找到所有的<code>元素
            const codeElements = pElement?.querySelectorAll("code");
            codeElements?.forEach((codeElement) => {
              const textContent = codeElement.textContent;
              const newTextNode = document.createTextNode(`'${textContent}'`);
              codeElement.replaceWith(newTextNode);
            });
            const behavior = pElement.textContent.trim();
            if (behavior.includes('Hide')) {
              unused[permision] = pElement.textContent.trim();
            }
          }
        }
        thirdColumnTexts.push(thirdColumnCell.textContent.trim());
      }
    });
  });

  // 输出所有第三列的文本内容
  console.log(unused);
  let r = Object.entries(unused).map(([key, value]) => `${key}: ${value}`).join('\n');
  console.log(r);
}
a();